import{point}from'./point'
class circle{
    radius:number=0
    circle_heart:point=new point(0,0)

    constructor(circle_heart:point,radius:number){
    this.radius=radius
    this.circle_heart=circle_heart

}
ispointincircle(point:point){
    let distance = this.circle_heart.get_distance(point)
    return distance<=this.radius
}
}
let point3:point=new point(0,0)
    let c1:circle=new circle(point3,2)
    console.log(c1);


    let point4:point=new point(1,1)
    let result=c1.ispointincircle(point4)
    console.log(result)